package org.fastsyncer.manager.splitter;

import java.util.Queue;

import org.fastsyncer.common.entity.MappingTask;

public interface Splitter {

    /**
     * 拆分数据源为多个任务
     * @param mappingTask
     * @return 返回待执行的任务范围[100000000,100000999],[100001000,100001999],...
     */
   Queue<Integer[]> split(MappingTask mappingTask);
    
}
